#include <iostream>
#include "gslcpp_test_setup.h"
#include "gcomplex_test.h"

using namespace gslcpp;

int main()
{
	bool result = true;
	tfarray test_fns;
	test_fns.push_back(gcomplex_runtest);

	for (int i=0; i<test_fns.size(); ++i) {
		result = result && test_fns[i]();
		if (!result) break;
	}

	if (result) std::cout<<"gslcpp: all tests PASSED.\n";
	else std::cout<<"gslcpp: testing FAILED.\n";

	std::cout<<"\n";

	return (result ? 0 : 1);
}

